/* Copyright (c) 1992 - Rick A. Vander Kam - All rights reserved */
Description of the Dcblock Unit Generator.
This unit generator implements a one-pole, one-zero filter section in direct form. It is useful for many applications besides its use as a fixed dc-blocking filter in the guitar synthesizer. The output of the filter is given as bb0*(input) + bb1*(once-delayed input) + aa1*(once-delayed output).
METHODS
=========
- setOutput:aPatchPoint
Used to connect the unit generator's output to aPatchPoint
-setInput:aPatchPoint
Used to connect the unit generator's input to aPatchPoint
- setAa1:aDouble
Used to set the aa1 coefficient to aDouble (-1.0 to 0.999999)
- setBb0:aDouble
Used to set the bb0 coefficient to aDouble (-1.0 to 0.999999)
- setBb1:aDouble
Used to set the bb1 coefficient to aDouble (-1.0 to 0.999999)
- clear
Used to clear the filter state. Forces the stored values for the once-delayed input and the once-delayed output to be zero.